package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author Webgasd
 * @since 2020-10-15
 */
@TableName("PROJECT_PLAN_REQ_STORAGE")
public class ProjectPlanReqStorage extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("DBID")
    private String dbid;

    /**
     * 需求计划编号
     */
    @TableField("PLAN_REQ_ID")
    private String planReqId;

    /**
     * 物料编码
     */
    @TableField("PLAN_MAT_CODE")
    private String planMatCode;

    /**
     * 库点编号
     */
    @TableField("SA_DBID")
    private String saDbid;

    /**
     * 平库数量
     */
    @TableField("FLAT_NUM")
    private Float flatNum;

    /**
     * 库存数量
     */
    @TableField("STORAGE_NUM")
    private Float storageNum;

    /**
     * 本仓库已领用量
     */
    @TableField("HAVE_PICK_NUM")
    private Float havePickNum;

    public String getDbid() {
        return dbid;
    }

    public void setDbid(String dbid) {
        this.dbid = dbid;
    }
    public String getPlanReqId() {
        return planReqId;
    }

    public void setPlanReqId(String planReqId) {
        this.planReqId = planReqId;
    }
    public String getPlanMatCode() {
        return planMatCode;
    }

    public void setPlanMatCode(String planMatCode) {
        this.planMatCode = planMatCode;
    }
    public String getSaDbid() {
        return saDbid;
    }

    public void setSaDbid(String saDbid) {
        this.saDbid = saDbid;
    }
    public Float getFlatNum() {
        return flatNum;
    }

    public void setFlatNum(Float flatNum) {
        this.flatNum = flatNum;
    }
    public Float getStorageNum() {
        return storageNum;
    }

    public void setStorageNum(Float storageNum) {
        this.storageNum = storageNum;
    }
    public Float getHavePickNum() {
        return havePickNum;
    }

    public void setHavePickNum(Float havePickNum) {
        this.havePickNum = havePickNum;
    }

    @Override
    public String toString() {
        return "ProjectPlanReqStorage{" +
            "dbid=" + dbid +
            ", planReqId=" + planReqId +
            ", planMatCode=" + planMatCode +
            ", saDbid=" + saDbid +
            ", flatNum=" + flatNum +
            ", storageNum=" + storageNum +
            ", havePickNum=" + havePickNum +
        "}";
    }
}
